namespace QLGT_2.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class tbl_Nganh
    {
        public tbl_Nganh()
        {
            tbl_DaoTaos = new HashSet<tbl_DaoTao>();
        }

        [Key]
        [StringLength(10)]
        public string MaNganh { get; set; }

        [Required]
        [StringLength(10)]
        public string Nganh { get; set; }

        [Required]
        [StringLength(50)]
        public string TenNganh { get; set; }

        public virtual ICollection<tbl_DaoTao> tbl_DaoTaos { get; set; }
    }
}
